summaryrefslogtreecommitdiff
path: root/src/pages/shop/category/[slug].jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/shop/category/[slug].jsx')
-rw-r--r--src/pages/shop/category/[slug].jsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pages/shop/category/[slug].jsx b/src/pages/shop/category/[slug].jsx
index 2c5d9f3e..dbc17c06 100644
--- a/src/pages/shop/category/[slug].jsx
+++ b/src/pages/shop/category/[slug].jsx
@@ -30,10 +30,7 @@ export default function CategoryDetail() {
/>
{!_.isEmpty(router.query) && (
- <ProductSearch
- query={query}
- prefixUrl={`/shop/category/${slug}`}
- />
+ <ProductSearch query={query} prefixUrl={`/shop/category/${slug}`} />
)}
</BasicLayout>
)